package com.hbird.service.impl;

import com.hbird.entity.UserGenerator;
import com.hbird.mapper.UserGeneratorMapper;
import com.hbird.service.UserGeneratorService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserGeneratorServiceImpl implements UserGeneratorService {

    @Autowired
    UserGeneratorMapper tsUserMapper ;
    private static Logger LOGGER = LoggerFactory.getLogger(UserGeneratorServiceImpl.class);

    public void getUser(){
        Long lkey = Integer.toUnsignedLong(1);
        UserGenerator tsUser = tsUserMapper.selectByPrimaryKey(lkey);
        LOGGER.debug(tsUser.getEmail());
        int a = 10;
    }
}